window.addEventListener('resize',pageInit);
window.addEventListener('load',pageInit);

function pageInit() {
    window.document.documentElement.style.fontSize=window.document.documentElement.clientWidth/(750/20)+'px'
}